/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package TestingMenu;


import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JPanel;
import javax.swing.Timer;

/**
 *
 * @author Marina
 */
public class Menu1 extends JPanel implements ActionListener {
    
     private Timer timer;
     private String[] images;
     private int a;
     
     public Menu1(){
        setFocusable(true);
        setBackground(Color.BLACK);
        setDoubleBuffered(true);
        timer = new Timer(70, this);
        timer.start();
        a = 0;
        System.out.printf("Hola~");
        //while(a == 0){System.out.printf("Hola~");};
     }

    @Override
    public void actionPerformed(ActionEvent e) {
       System.out.printf("Hola~");
    }

     }
